package com.cloudlinkscm.base.authcenter.model.dto;

import java.util.List;

/**
 * Created by sin on 2017/8/7.
 *
 * 租户资源：分配 DTO
 */
public class TenantResourceDistributionDTO<T> {

	/**
	 * 未分配
	 */
	private List<ResourceTree<T>> notDistributionTree;
	/**
	 * 已分配
	 */
	private List<ResourceTree<T>> distributionTree;

	public TenantResourceDistributionDTO() {
	}

	public TenantResourceDistributionDTO(List<ResourceTree<T>> notDistributionTree, List<ResourceTree<T>> distributionTree) {
		this.notDistributionTree = notDistributionTree;
		this.distributionTree = distributionTree;
	}

	@Override
	public String toString() {
		return "TenantResourceDistributionDTO{" +
				"notDistributionTree=" + notDistributionTree +
				", distributionTree=" + distributionTree +
				'}';
	}

	public List<ResourceTree<T>> getNotDistributionTree() {
		return notDistributionTree;
	}

	public void setNotDistributionTree(List<ResourceTree<T>> notDistributionTree) {
		this.notDistributionTree = notDistributionTree;
	}

	public List<ResourceTree<T>> getDistributionTree() {
		return distributionTree;
	}

	public void setDistributionTree(List<ResourceTree<T>> distributionTree) {
		this.distributionTree = distributionTree;
	}
}
